package com.pisolution.actuator.client.registration;

/**
 * 客户端应用数据实体.
 *
 * @author sora
 * @version 0.1.0
 */
@SuppressWarnings("unused")
public class Application {
    /** 客户端应用名称. */
    private final String name;

    /** 客户端监控入口. */
    private final String endpoint;

    // -------------------------------------------------------------------------------------------------
    //  初始化
    // -------------------------------------------------------------------------------------------------

    public Application(final String name, final String endpoint) {
        this.name = name;
        this.endpoint = endpoint;
    }

    // -------------------------------------------------------------------------------------------------
    //  属性访问
    // -------------------------------------------------------------------------------------------------

    public String getName() {
        return this.name;
    }

    public String getEndpoint() {
        return this.endpoint;
    }
}
